<?php
/**
 * @name celebrityrisecount.php
 * @msg 明星粉丝、评论、文章、评分统计实体
 * @date Created on 2014-12-24
 */
namespace haibao\cms\model\data;

Class CelebrityRiseCount extends Base{
	
	/**
	 * 明星id
	 */
	public $CelebrityId;
	/**
	 * 周新增粉丝数
	 */
	public $WeekFans;
	/**
	 * 周新增评论数
	 */
	public $WeekComments;
	/**
	 * 周新增文章数
	 */
	public $WeekArticles;
	/**
	 * 粉丝总数
	 */
	public $FansCount;
	/**
	 * 评论总数
	 */
	public $CommentsCount;
	/**
	 * 点击量
	 */
	public $Hits;
	/**
	 * 周点击量
	 */
	public $WeekHits;
	
	public $CommentPariseNum = 0;
	
	public $EditClickNum;
	
	public $EditFansNum;
	
	public $CelebrityRelated;
	
	public $CelebrityImage;
	/**
	 * 提问数
	 */
	public $QuestionNum = 0;
	/**
	 * 提问点赞数
	 */
	public $QuestionPariseNum = 0;
	
	
	public function __construct(){
		parent::__construct();
		
		$this->intField('CelebrityId', 'CelebrityId');
		$this->intField('WeekFans', 'WeekFans',true);
		$this->intField('WeekComments', 'WeekComments',true);
		$this->intField('WeekArticles', 'WeekArticles',true);
		$this->intField('FansCount', 'FansCount',true);
		$this->intField('CommentsCount', 'CommentsCount',true);
		$this->intField('Hits', 'Hits',true);
		$this->intField('WeekHits', 'WeekHits',true);
		$this->intField('CommentPariseNum', 'CommentPariseNum');
		$this->intField('EditClickNum', 'EditClickNum');
		$this->intField('EditFansNum', 'EditFansNum');
		$this->intField('QuestionNum', 'QuestionNum');
		$this->intField('QuestionPariseNum', 'QuestionPariseNum');
		
		$this->setTableName('CelebrityRiseCount');
	}
}